home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 12956 / 12956.xpi / chrome / fabtab.jar / content / fabtab / fabtabtab.xml < prev    next >
Extensible Markup Language  |  2009-10-26  |  4KB  |  72 lines

  1. <?xml version="1.0"?>
  2.  
  3. <bindings xmlns="http://www.mozilla.org/xbl" xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:xbl="http://www.mozilla.org/xbl">
  4.     <binding id="fabtabtab" extends="chrome://browser/content/tabbrowser.xml#tabbrowser-tab">
  5.         <resources>
  6.             <stylesheet src="chrome://fabtab/skin/fabtab.css"/>
  7.         </resources>
  8.  
  9.         <content>
  10.             <xul:hbox flex="1" anonid="fabtabbox" class="tab-fabtab">
  11.                 <xul:image xbl:inherits="validate,src=image" class="tab-icon-image"/>
  12.                 <xul:label flex="1" xbl:inherits="value=label,crop,accesskey" class="tab-text"/>
  13.                 <xul:toolbarbutton anonid="close-button" tabindex="-1" class="tab-close-button"/>
  14.             </xul:hbox>
  15.         </content>
  16.         
  17.         <implementation>
  18.             <field name="mFabTabBox">
  19.                 document.getAnonymousElementByAttribute(this, "anonid", "fabtabbox");
  20.             </field>
  21.         </implementation>
  22.     </binding>
  23.  
  24.     <binding id="fabtabtab_tmp" extends="chrome://tabmixplus/content/tab/tabmix_3.xml#browser-tab">
  25.         <resources>
  26.             <stylesheet src="chrome://fabtab/skin/fabtab.css"/>
  27.         </resources>
  28.  
  29.         <content>
  30.             <xul:hbox flex="1" anonid="fabtabbox" class="tab-fabtab">
  31.                 <xul:hbox class="tab-image-left tab-startcap tab-left tab-left-border" xbl:inherits="selected,hover"/>
  32.                 <xul:hbox class="tab-drag-indicator-left"/>
  33.                 <xul:toolbarbutton anonid="tmp-close-button" tabindex="-1" class="tab-close-button always-left"/>
  34.                 <xul:hbox flex="1" class="tab-middle box-inherit tab-image-middle tab-body" align="center" xbl:inherits="selected">
  35.                     <xul:stack class="tab-icon">
  36.                         <xul:image class="tab-icon-image" xbl:inherits="validate,src=image"/>
  37.                         <xul:image class="tab-protect-icon" />
  38.                         <xul:image class="tab-lock-icon"/>
  39.                     </xul:stack>
  40.                     <xul:stack class="tab-text-stack" flex="1">
  41.                         <xul:progressmeter class="tab-progress" flex="2" mode="normal" value="0" xbl:inherits="value=tab-progress"/>
  42.                         <xul:label class="tab-text" xbl:inherits="value=label,accesskey,crop,disabled" flex="1"/>
  43.                         <xul:hbox class="showhover-box">
  44.                         <xul:toolbarbutton anonid="tmp-close-button" tabindex="-1" class="showhover tabs-closebutton"/>
  45.                         </xul:hbox>
  46.                     </xul:stack>
  47.                 </xul:hbox>
  48.                 <xul:toolbarbutton anonid="tmp-close-button" tabindex="-1" class="tab-close-button always-right"/>
  49.                 <xul:hbox class="tab-drag-indicator-right"/>
  50.                 <xul:hbox class="tab-image-right tab-endcap tab-right tab-right-border" xbl:inherits="selected,hover"/>
  51.             </xul:hbox>
  52.         </content>
  53.         
  54.         <implementation>
  55.             <field name="mFabTabBox">
  56.                 document.getAnonymousElementByAttribute(this, "anonid", "fabtabbox");
  57.             </field>
  58.         </implementation>
  59.     </binding>
  60.  
  61.     <binding id="fabtabs-bottom" extends="chrome://browser/content/tabbrowser.xml#tabbrowser-tab">
  62.         <resources>
  63.             <stylesheet src="chrome://fabtab/skin/fabtab.css"/>
  64.         </resources>
  65.  
  66.         <content>
  67.             <xul:hbox id="fabtabs-bottom" class="tabs-bottom fabtabs-bottom" flex="1"/>
  68.         </content>
  69.     </binding>
  70.  
  71. </bindings>
  72.